// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
// import 'lib-flexible'
import Vant from 'vant';
import 'vant/lib/index.css';
import router from './router'
import axios from 'axios'
import Qs from 'qs'
axios.defaults.withCredentials=true
Vue.config.productionTip = false
Vue.prototype.$axios = axios;
Vue.prototype.qs = Qs;
Vue.use(Vant);
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: h => h(App),
  router, //使用上vue-router
  template: '<App/>'
})
